/*-------让footer置于页面最底部的CSS---------*/
html {
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

main {
    padding-top: 30px;
    padding-bottom: 245px;     /* 215+30，保证上下padding相同 */
}

/* main的padding-bottom值要等于或大于footer的height值 以保证main的内容能够全部显示出来而不被footer遮盖*/
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 215px;
}




body {
    background: url("../images/Common/bg1.png");
}


.m-footer-qrCode-inlineBlock {
    display: inline-block !important;
}


.m-children-center span {
    display: block;
    width: 100%;
    text-align: center;
}


.m-suspend-parent {
    position: relative !important;
}

.m-suspend-children {
    position: absolute !important;
    right: 1em;
    top: 1em;
}

.m-right-top {
    position: absolute !important;
    top: 0;
    right: 0;
}


.m-user-card .m-headline {
    /*color: #4c4948;*/
    font-size: 16px;
    /*font-weight: 700;*/
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.m-user-card .m-length-num {
    /*color: #4c4948;*/
    font-size: 20px;
}

.m-user-card .author-name {
    font-size: 25px;
    /*font-weight: 600;*/
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}

.m-user-card .author-desc {
    font-size: 18px;
}

.m-divider-short {
    border: none !important;
    border-bottom: black solid 3px !important;
    width: 80px !important;
    position: relative;
    top: 2px;
    left: 0;
}

.m-divider-long {
    border: none !important;
    border-top: #E7E7E7 solid 1px !important;
}

.m-link-divider-short {
    border: none !important;
    border-bottom: #00b5ad solid 3px !important;
    width: 75px !important;
    position: relative;
    top: 2px;
    left: 0;
}

.m-link-divider-long {
    border: none !important;
    border-top: #E7E7E7 solid 1px !important;
}

.m-comment-one-three {
}

.m-comment-input {
    border: none !important;
    border-bottom: #dedede dashed 1px !important;
    width: 33% !important;
    color: #555555 !important;;
    line-height: 1.8 !important;;
}

.m-comment-input-error[name='nickname'],
.m-comment-input-error[name='email'] {
    border-bottom: #eb5055 dashed 1px !important;
}


.m-comment-textarea {
    border: none !important;
    color: #555555 !important;;
    line-height: 1.8 !important;;
    resize: none !important;
}

.m-comment-box {
    border: #e4e4e4 1px solid;
    border-radius: 5px;
}

#comment-error ul {
    padding-left: 10px !important;
}

#comment-error li {
    display: inline !important;
    list-style: disc !important;
}

.about-icon {
    width: 36px !important;
    height: 36px !important;
}

.type2 {
    display: none !important;
}

.m-normal-font-size {
    font-size: 1em !important;
}

.m-contact-icon {
    line-height: 1.4em !important;
    font-size: 1.4em !important;
    width: 1.4em !important;
    height: 1.4em !important;
}

/*鼠标悬浮四周阴影效果移出后恢复过渡效果*/
.hover-shadow-heavy {
    transition: all 0.2s linear;
}

/*鼠标悬浮四周阴影效果*/
.hover-shadow-heavy:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s linear;
}

/*鼠标悬浮四周阴影效果移出后恢复过渡效果*/
.hover-shadow-light {
    transition: all 0.2s linear;
}

/*鼠标悬浮四周阴影效果*/
.hover-shadow-light:hover {
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
    transition: all 0.2s linear;
}

/*图片鼠标悬浮放大，移出恢复的父级元素，需要隐藏超出的部分*/
.img-effect {
    overflow: hidden;
}

/*鼠标移出后恢复过渡效果*/
.img-effect img {
    transition: all 0.4s linear;
}

/*鼠标悬浮放大效果*/
.img-effect:hover img {
    transform: scale(1.4);
    transition: all 0.4s linear;
}

/*目录外层*/
.toc-container {
    width: 350px !important;
    padding: 20px 0 !important;
}


.js-toc {
    margin: 0;
    padding: 0 20px 0 40px;
    overflow: auto !important;
    max-height: 310px;
    /*position: relative;*/
}

/*目录列表*/
.js-toc .toc-list {
    position: relative;
}

/*目录非当前节点的左边那个游标*/
.js-toc .toc-link::before {
    width: 3px !important;
    background-color: #ffffff !important;
}

/*目录当前节点的左边那个游标*/
.js-toc .is-active-link::before {
    width: 4px !important;
    background-color: #54BC4B !important;
}


.m-bg-change {

}

.m-bg-change {
    display: block;
    position: relative;
    text-align: center;
    color: #fff;
    background: #00b5ad;
    cursor: pointer;
    border: none;
}

.m-bg-change:after, .m-bg-change:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #00b5ad;
    z-index: -2;
    transition: .3s;
}

.m-bg-change:hover {
    z-index: 1;
    background: transparent;
    /*transition: .3s;*/
}

.m-bg-change:before {
    background: #ff7242;
    z-index: -1;
}

.m-bg-change:hover:after, .m-bg-change:hover:before {
    width: 100%;
}

.m-hover-orange:hover {
    color: #ff7242 !important;
    cursor: pointer;
}

.mouse-hover-rotate {
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    -ms-transition: -ms-transform 0.4s ease-out;
}

.mouse-hover-rotate:hover {
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    -o-transform: rotateZ(360deg);
    -ms-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
}




